﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>实战Windows Azure - 支持中心 - @ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.js")" type="text/javascript"></script>

    <!-- google analytics -->
    <script type="text/javascript">
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-25288856-1']);
        _gaq.push(['_trackPageview']);

        (function () {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();
    </script>

    @RenderSection("scripts", false)
</head>
<body>
    <div class="page">
        <header>
            <div id="title">
                <h1>实战 Windows Azure - 支持中心</h1>
            </div>
            <div id="logindisplay">
                @if (User.Identity.IsAuthenticated)
                { 
                    <text>[</text> @User.Identity.Name <text> | @Html.ActionLink("退出", "LogOff", "Member", null, null) ]</text>
                }
                else
                { 
                    <text>&nbsp;</text>
                }
            </div>
            <nav>
                <ul id="menu">
                    <li>@Html.ActionLink("首页", "Index", "Home")</li>
                    <li>@Html.ActionLink("作者", "Author", "Home")</li>
                    <li>@Html.ActionLink("推荐", "Recommendations", "Home")</li>
                    <li>@Html.ActionLink("前言", "Preface", "Home")</li>
                    <li>@Html.ActionLink("目录", "Tables", "Home")</li>
                    <li>@Html.ActionLink("样章", "Chapters", "Home")</li>
                    <li>@Html.ActionLink("代码", "Samples", "Home")</li>
                    <li>@Html.ActionLink("购买", "Purchase", "Home")</li>
                    <li>@Html.ActionLink("勘误", "Index", "Corrigendum")</li>
                </ul>
            </nav>
        </header>
        <section id="main">
            @Html.Partial("_ValidationPartial", ViewData.ModelState)
            @RenderBody()
        </section>
        <footer>
            Copyright © @DateTime.Now.Year, Shaun Ziyan Xu <br />
            <img src="/Content/pbwa_logo_230x50.png" alt="Powered by Windows Azure"/>
        </footer>
    </div>
</body>
</html>
